package com.qf.pojo;

public class OrderItem {
    private Integer itemid;
    private Integer gid;
    private String oid;
    private String pic;
    private Float price;
    private Integer gnum;
    private String gname;

    public Integer getItemid() {
        return itemid;
    }

    public void setItemid(Integer itemid) {
        this.itemid = itemid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Integer getGnum() {
        return gnum;
    }

    public void setGnum(Integer gnum) {
        this.gnum = gnum;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public OrderItem() {
    }

    public OrderItem(Integer gid, String oid, String pic, Float price, Integer gnum, String gname) {
        this.gid = gid;
        this.oid = oid;
        this.pic = pic;
        this.price = price;
        this.gnum = gnum;
        this.gname = gname;
    }

    @Override
    public String toString() {
        return "OrderItem{" +
                "itemid=" + itemid +
                ", gid=" + gid +
                ", oid='" + oid + '\'' +
                ", pic='" + pic + '\'' +
                ", price=" + price +
                ", gnum=" + gnum +
                ", gname='" + gname + '\'' +
                '}';
    }
}
